from django.db import models
from django.http import HttpResponse

# Create your models here.
def index(request):
    return HttpResponse('Hello World')

class Post(models.Model):
    title = models.CharField(max_length=200)
    content = models.TextField()
    
    def __str__(self):
        return self.title